package com.yonyou.iuap.shell.service.intf;

import java.util.List;
import java.util.Map;

import com.yonyou.iuap.base.intf.IKmBaseService;
import com.yonyou.iuap.shell.entity.BdCompatibleEntity;
import com.yonyou.iuap.shell.pub.RequestDto;
import com.yonyou.iuap.shell.pub.ResultDto;

public interface ICompatibleService extends IKmBaseService {
	public abstract ResultDto deleteByPrimaryKey(String paramString);

	public abstract ResultDto insert(BdCompatibleEntity listvo);

	public abstract BdCompatibleEntity selectByPrimaryKey(String paramString);

	public abstract ResultDto selectAll();

	public abstract ResultDto updateByPrimaryKey(BdCompatibleEntity listvo);

	public abstract ResultDto selectByCondition(String paramString);
	
	public int selectByConditionPage(String paramString);

	public abstract ResultDto countByCondition(String paramString);

	public abstract ResultDto deleteByCondition(String paramString);

	/**
	 * 
	 * 添加 （匹配有值的字段）
	 * 
	 **/
	ResultDto insertSelective(BdCompatibleEntity paramT);

	/**
	 * 
	 * 修改 （匹配有值的字段）
	 * 
	 **/
	ResultDto updateByPrimaryKeySelective(BdCompatibleEntity paramT);

	/**
	 * 根据产品查询竞品
	 * @param param
	 * @return
	 */
	ResultDto queryCompatible(Map param);
	/**
	 * 竞品分页查询接口
	 * @param reqDto
	 * @return
	 */
	public ResultDto pageQuery(RequestDto reqDto);
	
	public abstract ResultDto selectAllPage(Map param);
	
	public ResultDto selectByCondition(Map param);
   
	public int selectByConditionPagecount(Map param);
	
	public ResultDto selectByConditionPage(Map param);

}
